const { Service, } = require('egg')

class TopicTypeService extends Service {
  async fetch() {
    const { app } = this
    const result = await app.mysql.select('t_topicType', {
      columns: ['typeId', 'value']
    })
    return result
  }
}

module.exports = TopicTypeService
